import requests
import json

# burp0_url = "http://flights.ctrip.com:80/domesticsearch/search/SearchFirstRouteFlights?DCity1=BJS&ACity1=SHA&SearchType=S&DDate1={}"
# burp0_cookies = {"_abtest_userid": "e1a3dd65-a0b2-47ef-836c-a4abe7acaa32", 
# "_bfa": "1.1523348937463.3q1ygg.1.1523692918963.1523851107974.6.10", 
# "_RF1": "36.27.55.194", "_RSG": "1Z4gRojpAIEw15JltYtbY8", "_RDG": "288bca7b096f6d22e418d93e9af6ab9e5d",
#  "_RGUID": "e48acedc-9ba8-48c1-88a5-de2def4c507a", "__zpspc": "9.6.1523851129.1523851274.2%234%7C%7C%7C%7C%7C%23",
#   "_jzqco": "%7C%7C%7C%7C1523851129902%7C1.2036090304.1523348943464.1523851129743.1523851274792.1523851129743.1523851274792.undefined.0.0.9.9", "_ga": "GA1.2.469993046.1523348945"}
# burp0_headers = {"User-Agent": "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0",
#  "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", 
#  "Accept-Language": "zh-CN,zh;q=0.8,en-US;q=0.5,en;q=0.3",
#   "Accept-Encoding": "gzip, deflate", 
#   "Referer": "http://flights.ctrip.com/domestic/Search/FirstRoute/?dcity1=BJS&acity1=SHA&ddate1=2018-07-20&searchtype=S", "Connection": "close"}

# resp = requests.get(burp0_url, headers=burp0_headers, cookies=burp0_cookies)
with open('a.txt','r',encoding='utf-8') as f:
	aaa = f.read()
myjson = json.loads(aaa)
fis = myjson['fis']
for i in fis:
	
	
